<template>
	<view class="container">
		<view class="success">
			<uni-icons class="icon" type="checkbox-filled" size="80" color="#2979ff"></uni-icons>
			<view class="title">添加成功</view>
			<button class="btn" type="primary" @click="back">完 成</button>
			<view class="tip">锁与网关需2-3分钟后才能建立连接</view>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {};
	},
	methods: {
		back() {
			uni.navigateBack({
				delta: 2
			});
		}
	}
};
</script>

<style lang="scss">
.container {
	padding: 80rpx 20rpx;
	.success {
		display: flex;
		flex-direction: column;
		align-items: center;
		.title {
			font-size: 34rpx;
			font-weight: bold;
			margin-top: 50rpx;
		}
		.btn {
			width: 100%;
			margin-top: 100rpx;
		}
		.tip {
			font-size: 24rpx;
			color: $uni-secondary-color;
			margin-top: 50rpx;
		}
	}
}
</style>
